#ifndef __ARPCHECK_H__
#define __ARPCHECK_H__

// ----------------------------------------------------------------------------
//
// ARPProtect version 1.0
//
// http://www.snoopspy.com, http://www.netlab.co.kr
//
// Copyright (c) NetworkLab Corporation All rights reserved
//
// ----------------------------------------------------------------------------

#include "ARPCommon.h"
#include "ARPObject.h"

namespace arp {

	// ----------------------------------------------------------------------------
	// event
	// ----------------------------------------------------------------------------
	typedef void (*ARPCheck_onCheck)(void *owner, void *sender, Ip ip, Mac goodMac, Mac badMac);

	// ----------------------------------------------------------------------------
	// ARPCheck
	// ----------------------------------------------------------------------------
	class ARPCheck : public ARPObject
	{
	public:
		ARPCheck(void *owner = NULL);
		virtual ~ARPCheck();
	public:
		ARPCheck_onCheck onCheck;
	public:
		virtual bool check(Ip ip, Mac mac) = 0;
	};

};

#endif  __ARPCHECK_H__